import Vue from "vue"
import VueRouter from "vue-router"
import login from "../views/login.vue"
import home from "../views/home.vue"

Vue.use(VueRouter)

const routes = [
  { name: "home", path: "/home", component: home },
  { name: "login", path: "/login", component: login },
]

const router = new VueRouter({
  routes,
})

export default router
